﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Dxr.Police.IACS.Models;

namespace Dxr.Police.IACS.FullText
{
    public interface IDataSource
    {
        bool CanUse(DataType type);

        IEnumerable<FullTextModel> Select(FullTextConditional condition, Zongsoft.Data.Paging paging);

        int ImportFromExcel(string path, DataType type, Dxr.Police.Models.UserInfo user);
    }
}
